Skip to content

Conversation

jafl
Copy link
Contributor

@jafl jafl commented Oct 9, 2025

Support for properties:static, like what I added to the JavaScript parser

Replaces #4311

@jafl jafl requested a review from masatake October 9, 2025 15:13
@jafl jafl self-assigned this Oct 9, 2025
@jafl jafl force-pushed the typescript-static-property branch 2 times, most recently from 21987b4 to d656651 Compare October 9, 2025 15:35
} tsKind;

typedef enum {
F_STATIC,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"static" is one of the values that the properties field can take.
So, F_PROPERTIES is better. So, for example, we can append "inline" to the field.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should I fix this in jscript.c, too?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, please.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated

JavaScript: fix constant name to be consistent
@jafl jafl force-pushed the typescript-static-property branch from a3563a3 to 0d29c0b Compare October 14, 2025 02:00
Copy link

codecov bot commented Oct 14, 2025

Codecov Report

❌ Patch coverage is 71.42857% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 85.87%. Comparing base (e6a4947) to head (0d29c0b).
⚠️ Report is 22 commits behind head on master.

Files with missing lines Patch % Lines
parsers/typescript.c 70.00% 6 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4312      +/-   ##
==========================================
- Coverage   85.88%   85.87%   -0.01%     
==========================================
  Files         248      248              
  Lines       63602    63622      +20     
==========================================
+ Hits        54624    54638      +14     
- Misses       8978     8984       +6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@masatake
Copy link
Member

I will take over this.

@masatake
Copy link
Member

See #4317.

@masatake masatake closed this Oct 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants